<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .div-top{
            width: 700px;
            height: 24px;
            background: red;
            margin: 0 auto;
        }
        .div-bottom{
            width: 700px;
            height: 50px;
            background: yellow;
            margin: 0 auto;
        }
        .top-son{
            display: inline-block;

            background: black;
            color: white;
            width: 100px;
            height: 20px;
            text-align: center;

            border-top: 2px solid  white;
            border-bottom: 2px solid  yellow;
        }

        .top-son:hover{
            border-top: 2px solid  red;
            border-bottom: 2px solid  red;
            background: red;
        }
    </style>
</head>
<body>


    <div class="div-top">
        <div class="top-son">
            国内新闻
        </div><div class="top-son">
            国内新闻
        </div><div class="top-son">
            国内新闻
        </div><div class="top-son">
            国内新闻
        </div><div class="top-son">
            国内新闻
        </div><div class="top-son">
            国内新闻
        </div><div class="top-son">
            国内新闻
        </div>

    </div>
    <div class="div-bottom">

    </div>

</body>
</html>
